syntax = "proto3"; import "google/protobuf/empty.proto"; package Hexagon.NCS.OfflineManager.V1; service OfflineManagerService { rpc PullArchive(google.protobuf.Empty) returns (stream PullArchiveResponse); // NCSOM pull archive from NCS. rpc PushArchive(stream PushArchiveRequest) returns (PushArchiveResponse); // NCSOM push archive to NCS. rpc PullProbeFile(PullProbeFileRequest) returns (stream PullProbeFileResponse); // NCSOM pull probe from NCS. } message PullArchiveResponse { string FileName = 1; bytes FileData = 2; bool FileEOF = 3; } message PushArchiveRequest { string FileName = 1; bytes FileData = 2; bool FileEOF = 3; } message PushArchiveResponse { bool IsSuccess = 1; string ErrorInfo = 2; } message PullProbeFileRequest { int32 MachineId = 1; string ProbeFileName = 2; } message PullProbeFileResponse { bytes FileData = 1; bool FileEOF = 2; }